package com.hfxt.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Role {


    //Role---Uses   一对多
    //Uses----Role  多对一
    private Integer roleid;
    private String rolename;

    //角色到用户之间的关系  一对多
    public List<Uses> uses;
}
